SET(K3D_OPENGL_FOUND 0)

FIND_PACKAGE(OpenGL)

IF(OPENGL_FOUND AND OPENGL_GLU_FOUND)
  SET(K3D_OPENGL_INCLUDE_DIR ${OPENGL_INCLUDE_DIR})
  SET(K3D_OPENGL_LIBRARIES ${OPENGL_LIBRARIES})
  SET(K3D_OPENGL_FOUND 1)
ENDIF()

